 Re: EDuke32 Scripting (CON coding) 
i made a shrink octabrain... if you shoot it once with an rpg... it shrinks, if you hit it again... it dies.
Here's teh code


Code:
ifwasweapon RPG
      {
        sound OCTA_DYING
        addkills 1
         ifvare temp 1
	     {
		setvar temp 0
		killit
	     }
	    	sizeat 20 20
		setvar temp 1
	  state standard_jibs
	  
      } 

edit: o yea... almost forgot that i added gamevar temp 0 1 to defs.con 
